package com.amigo.online.message.mapper.message;

import com.amigo.online.message.mybatisbean.NoticeTbl;
import com.amigo.online.message.mybatisbean.NoticeTblExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NoticeTblMapper {
    long countByExample(NoticeTblExample example);

    int deleteByExample(NoticeTblExample example);

    int deleteByPrimaryKey(Long id);

    int insert(NoticeTbl record);

    int insertSelective(NoticeTbl record);

    List<NoticeTbl> selectByExampleWithBLOBs(NoticeTblExample example);

    List<NoticeTbl> selectByExample(NoticeTblExample example);

    NoticeTbl selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") NoticeTbl record, @Param("example") NoticeTblExample example);

    int updateByExampleWithBLOBs(@Param("record") NoticeTbl record, @Param("example") NoticeTblExample example);

    int updateByExample(@Param("record") NoticeTbl record, @Param("example") NoticeTblExample example);

    int updateByPrimaryKeySelective(NoticeTbl record);

    int updateByPrimaryKeyWithBLOBs(NoticeTbl record);

    int updateByPrimaryKey(NoticeTbl record);
}